<?php
session_start();
define("DB_HOST", "localhost");
//define("DB_USER", "lr12aas");
//define("DB_PASS", "u3CJFB4r");
define("DB_NAME", "dblr12aas");

define("DB_USER", "root");
define("DB_PASS", "Frankie28");
$con = new mysqli(DB_HOST, DB_USER, DB_PASS, DB_NAME); 
if (mysqli_connect_errno())
  {
  echo "Failed to connect to MySQL: " . mysqli_connect_error();
  }

//$host ="localhost";
//$user = "lr12aas";
//$password ="u3CJFB4r";
//$database = "dblr12aas";
//$con = mysqli_connect($host, $user, $password, $database);

//$con=mysql_connect(DB_HOST,DB_USER,DB_PASSWORD) or die("Failed to connect to MySQL: " . mysql_error());
//$db=mysql_select_db(DB_NAME,$con) or die("Failed to connect to MySQL: " . mysql_error());
?>